Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

speed up is_compatible; makes event_source factory faster #927

Merged
merged 2 commits into from
Jan 23, 2019

Conversation

dneise
Copy link
Member

@dneise dneise commented Jan 23, 2019

This is a commit from #916 where @watsonjj said, this is useful and should be in the master anyway.

@dneise dneise requested a review from watsonjj January 23, 2019 06:55
@codecov
Copy link

codecov bot commented Jan 23, 2019

Codecov Report

Merging #927 into master will decrease coverage by 0.29%.
The diff coverage is 82.35%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #927     +/-   ##
=========================================
- Coverage   78.11%   77.82%   -0.3%     
=========================================
  Files         185      185             
  Lines       10557    10573     +16     
=========================================
- Hits         8247     8228     -19     
- Misses       2310     2345     +35
Impacted Files Coverage Δ
ctapipe/io/nectarcameventsource.py 18.34% <100%> (-2.41%) ⬇️
ctapipe/io/lsteventsource.py 17.83% <75%> (-1.65%) ⬇️
ctapipe/io/sst1meventsource.py 24.32% <80%> (+0.88%) ⬆️
ctapipe/tools/camdemo.py 55.68% <0%> (-20.46%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bc12d6b...4c45cf3. Read the comment docs.

watsonjj
watsonjj previously approved these changes Jan 23, 2019
Copy link
Contributor

@watsonjj watsonjj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dneise
Copy link
Member Author

dneise commented Jan 23, 2019

FYI coverage went down, since I added untested code.
This untested code will eventually leave ctapipe once we do the plugins, but for now I did not want to loose it.

@dneise
Copy link
Member Author

dneise commented Jan 23, 2019

@watsonjj could your approve again quickly? Another commit removed your previous review .... I'm sorry.

@dneise dneise merged commit 293fcd6 into master Jan 23, 2019
@dneise dneise deleted the speedup_zfits_is_compatible branch January 23, 2019 12:42
watsonjj added a commit to watsonjj/ctapipe that referenced this pull request Jan 23, 2019
* master:
  Major coordinate refactoring, fixes cta-observatory#899, cta-observatory#900, cta-observatory#505, cta-observatory#416 (cta-observatory#896)
  speed up is_compatible; makes event_source factory faster (cta-observatory#927)
  Prefix containers (cta-observatory#833)
  remove optional deps in order to fix tests (cta-observatory#925)
  Charge Resolution Update (cta-observatory#827)
  Remove serializer, fixes cta-observatory#887 (cta-observatory#913)
  deleted summary.html - accidentally committed file (cta-observatory#919)

# Conflicts:
#	ctapipe/tools/extract_charge_resolution.py
#	examples/simple_event_writer.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants